package com.custom.config;

import com.custom.po.SqimpleBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnClass
public class MyAutoConfiguration {

	static {
		System.out.println("MyAutoConfiguration init");
	}

	@Bean
	public SqimpleBean sqimpleBean(){
		return new SqimpleBean();
	}


}
